﻿{extend name="common/base"}
{block name="title"}报错页面{/block}

<body>
{block name="content"}
	<!-- page not found -->
	<div class="segments-page">
		<div class="container">
			<div class="page-not-found">
				<h2>出错了!</h2>
				<h4><?php echo(strip_tags($msg));?></h4>
				<a href="" id="waiturl" style="font-size:18px;"><b id="wait"><?php echo($wait);?></b>秒后跳转</a>
				<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia magni, reprehenderit ex et ipsum, eius sunt non praesentium, atque quos dolor amet dolorem nulla. Natus, doloribus officiis ratione</p>
				<ul>
					<li><a href=""><i class="fa fa-home"></i>Home</a></li>
					<li><a href=""><i class="fa fa-envelope"></i>Contact Us</a></li>
				</ul>
			</div>
		</div>
	</div>
	<script type="text/javascript">
	(function(){
		var wait = document.getElementById('wait'),
			href = "<?php echo($url);?>";
		$("#waiturl").attr('href',href);
		var interval = setInterval(function(){
		var time= --wait.innerHTML;
		if(time<=0){
			location.href = href;
			clearInterval(interval);
		};
		},1000)
	})();
	</script>
	<!-- end page not found -->
{/block}
